neworder( if(isset($_POST['submit'])) { $names = trim($_POST['names']) ; $ct = trim($_POST['content']) ; $chk = $DBcon->prepare("select * from category where category_name =:un") ; $chk->bindparam(":un",$names) ; $chk->execute() ; if($chk->rowcount() > 0) { ?> regcategory($names,$ct)) { ?> Create Events Category

Creating Events Category

Summary

prepare("select * from category ") ; $querry->execute() ; //$rw = $stmt->fetch(PDO::FETCH_ASSOC); $counter = 0; while($rw = $querry->fetch(PDO::FETCH_ASSOC)) { $counter = $counter + 1 ; echo "" ; echo "" ; echo "" ; ?> " ; } ?>
SN NAMES
ACTION
".$counter."".$rw['category_name']."
EDIT' class='btn btn-danger' onclick="return confirm('Are You Sure you want to delete this User ?')">DELETE